<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Information extends Model
{
    use HasFactory;

    public $guarded = [];

    protected $casts = [
        'merchant_latitudeAndLongitude' => 'array',
        'merchant_poster' => 'array'
    ];

    protected function user()
    {
        return $this->belongsTo(User::class);
    }
}
